@import "reset.css";
@import "../font/iconfont.css";
@import "../font_2/iconfont.css";
.clearfix::after{
    content: "";
    display: block;
    clear: both;
}
html,body{
    width: 7.5rem;
    margin: 0 auto;
}
body{
    background: #f2f2f2;
}

/*顶部*/
#top1{
    width: 7.5rem;
    height: 0.7rem;
    background: #ff6043;
    display: flex;
    color: #ffdfd8;
    align-items: center;
    padding: 0.22rem 0.12rem 0 0.3rem;
    box-sizing: border-box;
    h2{
        margin: 0 1.2rem 0 3rem;
        font-size: 0.32rem;
    }
    p{
        display: flex;
        width: 1.76rem;
        height: 0.62rem;
        border: 1px solid #ff8a6f;
        border-radius: 0.3rem;
        margin-right: 0.11rem;
        align-items: center;
        justify-content: space-between;
        padding: 0 0.25rem;
        box-sizing: border-box;
        position: relative;
        span{
            width: 1px;
            height: 0.38rem;
            background: #ff896e;
            position: absolute;
            top: 0.1rem;
            left: 0.88rem;
        }
    }
}

/*页面头部*/
#top_box{
    width: 7.5rem;
    height: 0.7rem;
    background: linear-gradient(#ff6043,#ff8a80);
    box-shadow: 0rem 0.01rem 0.3rem #ff6043;
    position: relative;
    z-index: 1;
    padding-left: 0.39rem;
    box-sizing: border-box;
    p{
        font-size: 0.26rem;
        color: #fff3f2;
        float: left;
        margin-right: 1rem;
        height: 0.4rem;
        line-height: 0.4rem;
        margin-top: 0.15rem;
        &.cur{
            font-size: 0.3rem;
            font-weight: bold;
        }
    }

    .p1{
        margin-right: 0.05rem;
        i{
            display: inline-block;
            transform: scale(0.7);
        }
    }
    span{
        width: 0.41rem;
        height: 0.04rem;
        background: #ffffff;
        position: absolute;
        bottom: 0;
        left: 0.68rem;
        border-radius: 0.05rem;
    }
}

/*小U自营*/
#ziying{
    width: 7.5rem;
    height: 0.72rem;
    background: #ffffff;
    margin-bottom: 0.2rem;
    input{
        float: left;
        margin-top: 0.25rem;
        margin-left: 0.2rem;
        margin-right: 0.2rem;
    }
    h2{
        float: left;
        height: 0.72rem;
        line-height: 0.72rem;
        font-size: 0.3rem;
        color: #3b3b3b;
        font-weight: bold;
    }

    p{
        float: right;
        height: 0.72rem;
        line-height: 0.72rem;
        span{
            font-size: 0.22rem;
            color: #3d3d3d;
        }
        i{
            border-right: 2px solid #bdbdbd;
            margin: 0 0.2rem;
        }
        a{
            font-size: 0.22rem;
            color: #ff6a64;
            margin-right: 0.21rem;
        }
    }
}

/*自营商品*/
#ziying_goods{
    width: 7.5rem;
    height: 7.9rem;
    background: #fff;
    padding: 0.2rem 0 0.4rem 0.2rem;
    box-sizing: border-box;
    input{
        float: left;
        margin-top: 1.1rem;
        margin-right: 0.2rem;
    }
    ul{
        float: left;
        width: 6.8rem;
        margin-bottom: 0.5rem;
        img{
            float: left;
            width: 2.16rem;
            margin-right: 0.3rem;
        }
        h2{
            font-size: 0.3rem;
            color: #363636;
            font-weight: bold;
            width: 4.2rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .p1{
            font-size: 0.26rem;
            color: #9b9b9b;
            width: 4.2rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin: 0.02rem 0 0.03rem 0;
        }
        .p2{
            display: inline-block;
            width: 1.48rem;
            height: 0.32rem;
            line-height: 0.32rem;
            background: #f2f2f2;
            border-radius: 0.03rem;
            font-size: 0.18rem;
            color: #363636;
            text-align: center;
            margin-top: 0.15rem;
            margin-bottom: 0.1rem;
            span{
                display: inline-block;
                transform: scale(0.8);
                color: #000;
            }
        }
        .p3{
            font-size: 0.18rem;
            color: #ff6043;
        }
        .p4{
            float: left;
            font-size: 0.3rem;
            color: #ff6043;
            font-weight: bold;
            // width: 1.85rem;
            i{
                font-size: 0.12rem;
                
            }
            del{
                font-size: 0.12rem;
                color: #999999;
                font-weight: normal;
            }
        }
        .p5{
            float: right;
            margin-right: 0.15rem;
            span{
                display: inline-block;
                width: 0.8rem;
                height: 0.4rem;
                line-height: 0.4rem;
                background: #f2f2f2;
                text-align: center;
                margin: 0 0.1rem;
            }
        }
    }
}
@media screen and (min-width:320px) and (max-width:375px){
    #ziying_goods{
        height: 7.9rem;
    }
    #ziying_goods ul{
        width: rem;
    }
}

/*品牌精选*/
#jingxuan{
    width: 7.5rem;
    height: 0.72rem;
    background: #ffffff;
    margin-bottom: 0.2rem;
    margin-top: 0.4rem;
    input{
        float: left;
        margin-top: 0.25rem;
        margin-left: 0.2rem;
        margin-right: 0.2rem;
    }
    h2{
        float: left;
        height: 0.72rem;
        line-height: 0.72rem;
        font-size: 0.3rem;
        color: #3b3b3b;
        font-weight: bold;
    }

    p{
        float: right;
        height: 0.72rem;
        line-height: 0.72rem;
        span{
            font-size: 0.22rem;
            color: #3d3d3d;
        }
        i{
            border-right: 2px solid #bdbdbd;
            margin: 0 0.2rem;
        }
        a{
            font-size: 0.22rem;
            color: #ff6a64;
            margin-right: 0.21rem;
        }
    }
}
/*精选商品*/
#jingxuang_goods{
    width: 7.5rem;
    height: 7.9rem;
    background: #fff;
    padding: 0.2rem 0 0.4rem 0.2rem;
    margin-bottom: 1rem;
    box-sizing: border-box;
    margin-bottom: 1.2rem;
    input{
        float: left;
        margin-top: 1.1rem;
        margin-right: 0.2rem;
    }
    ul{
        float: left;
        width: 6.8rem;
        margin-bottom: 0.5rem;
        img{
            float: left;
            width: 2.16rem;
            margin-right: 0.3rem;
        }
        h2{
            font-size: 0.3rem;
            color: #363636;
            font-weight: bold;
            width: 4.2rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .p1{
            font-size: 0.26rem;
            color: #9b9b9b;
            width: 4.2rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin: 0.02rem 0 0.03rem 0;
        }
        .p2{
            display: inline-block;
            width: 1.48rem;
            height: 0.32rem;
            line-height: 0.32rem;
            background: #f2f2f2;
            border-radius: 0.03rem;
            font-size: 0.18rem;
            color: #363636;
            text-align: center;
            margin-top: 0.15rem;
            margin-bottom: 0.1rem;
            span{
                display: inline-block;
                transform: scale(0.8);
                color: #000;
            }
        }
        .p3{
            font-size: 0.18rem;
            color: #ff6043;
        }
        .p4{
            float: left;
            font-size: 0.3rem;
            color: #ff6043;
            font-weight: bold;
            // width: 1.85rem;
            i{
                font-size: 0.12rem;
                
            }
            del{
                font-size: 0.12rem;
                color: #999999;
                font-weight: normal;
            }
        }
        .p5{
            float: right;
            margin-right: 0.15rem;
            span{
                display: inline-block;
                width: 0.8rem;
                height: 0.4rem;
                line-height: 0.4rem;
                background: #f2f2f2;
                text-align: center;
                margin: 0 0.1rem;
            }
        }
    }
}

/*底部*/
#footer_box{
    width: 7.5rem;
    height: 1rem;
    background: #ffffff;
    display: flex;
    padding: 0.12rem 0 0 0;
    border-top: 1px solid #cccccc;
    position: fixed;
    bottom: 0;
    justify-content: space-around;
    p{
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 0.18rem;
        color: #999999;
        &.cur{
            color: #ff6043;
            font-weight: bold;
        }
        span{
            font-weight: bold;
        }
        i{
            margin-top: 0.1rem;
        }
    }
}